<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>开始使用layui</title>
<link rel="shortcut icon" href="#" />
<link rel="stylesheet" href="./layui/css/layui.css">
<script src="./layui/layui.js"></script>
</head>
<body>
<div id="demo1" style="width:500px; margin:200px auto; color:#00FF00; font-size:72px;"></div>

<script>
layui.config({
	base: './layui/lay/mymod/'
})

layui.use(['jquery', 'numScroll'], function(){
	var $ = layui.jquery
		,numScroll = layui.numScroll;
	numScroll.init({id:'demo1',from:4958588.00,to:23990482835.90});
});
</script>
</body>
</html>